<template>
<h1>home count:{{ cont }}  <input type="button" value="+" @click="add"></h1>

</template>
<script setup>
import { ref } from "vue";

const cont = ref(1)
function add(){
    cont.value++
}
</script>
<style lang='scss' scoped>

</style>